package com.baizhi.service;

import com.baizhi.dto.Result;
import com.baizhi.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author gange
 * @since 2023-04-06
 */
public interface IBlogService extends IService<Blog> {
    Result saveBlog(Blog blog);
    Result queryBlogById(Long id);
    Result likeBlog(Long id);

    Result queryBlogLikes(Long id);

    Result myFollowBlogs(Long lastId, Integer offset);
}
